package com.lekang.le.service.impl;

import com.lekang.ZcqEntity.BedDetailDTO;
import com.lekang.ZcqEntity.carer;
import com.lekang.le.mapper.LaoRenZcqMapper;
import com.lekang.le.service.LaoRenZcqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LaoRenZcqServiceImpl implements LaoRenZcqService {
    @Resource
    private LaoRenZcqMapper laoRenZcqMapper;

    @Override
    public List<BedDetailDTO> list() {
        List<BedDetailDTO> floorVOS = laoRenZcqMapper.list();
        return floorVOS;
    }

    @Override
    public List<carer> carerList() {
        List<carer> carers = laoRenZcqMapper.carerList();
        return carers;
    }
}
